package org.apache.ibatis.type.generic;

import org.apache.ibatis.type.BaseTypeHandler;
import org.apache.ibatis.type.JdbcType;

import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author yfq
 * @date 2024/4/23 21:11
 * @description
 */
public class UserTypeHandler extends BaseTypeHandler<User> {
    @Override
    public void setNonNullParameter(PreparedStatement ps, int i, User parameter, JdbcType jdbcType) throws SQLException {

    }

    @Override
    public User getNullableResult(ResultSet rs, String columnName) throws SQLException {
        return null;
    }

    @Override
    public User getNullableResult(ResultSet rs, int columnIndex) throws SQLException {
        return null;
    }

    @Override
    public User getNullableResult(CallableStatement cs, int columnIndex) throws SQLException {
        return null;
    }
}
